/*全局样式*/
a {
    text-decoration: none !important;
    transition: 0.5s;
}

a:hover {
    color: #f1404b;
    transition: 0.5s;
}

body {
    background-color: #f4f4f4;
    background-image: url(../../images/icons/leaves-pattern.png);
    background-attachment: fixed;
    transition: 0.5s;
}

/*导航栏*/
nav.navbar {
    transition: 0.3s cubic-bezier(0.65, 0.05, 0.36, 1);
}

.user-info-navbar .user-info-menu>li>a {
    padding: 20px 10px !important;
    font-size: 1.75rem;
    color: black!important;
}

#navbar {
    backdrop-filter: none; 
    background: transparent; 
    box-shadow: none; 
    transition: 0.5s;
    height: 76px;
    display: flex;
    align-items: center;
}

.user-info-navbar .user-info-menu>li>a:hover {
    color: #f1404b!important;
    transition: 0.3s;
}

.user-info-navbar .user-info-menu.left-links {
    margin-left: 20px;
}

/*左侧菜单栏*/
.sidebar-menu {
    transition: 0.3s cubic-bezier(0.65, 0.05, 0.36, 1);
}
.sidebar-menu.fixed .sidebar-menu-inner {
    scroll-behavior:smooth
}

/*搜索栏*/
@media screen and (min-width:768px){
    #search {
        margin: 80px auto 14px!important;
    }
}
.search-type {
    overflow: auto!important;
}
#search-text {
    transition: 0.3s;
}
#search-text:hover {
    box-shadow: rgb(0 0 0 / 20%) 0px 5px 20px;
    transition: 0.3s;
}
#search button {
    height: 100%;
    margin: auto!important;
}
#search button i {
    margin: 16px;
}

/*代码样式*/
code[class*="language-"]>span, pre[class*="language-"]>span {
    text-shadow: none!important;
}

/*滚动条*/
/*定义滚动条高宽及背景 高宽分别对应横竖滚动条的尺寸*/
::-webkit-scrollbar{
    width: 7px;
    height: 7px;
    background-color: #ffffff00;
}

/*定义滑块 内阴影+圆角*/
::-webkit-scrollbar-thumb{
    border-radius: 10px;
    box-shadow: inset 0 0 6px rgba(0, 0, 0, .1);
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .1);
    background-color: #c8c8c8;
}

/*弹窗*/
.iziToast-texts {
  max-width: 300px !important;
  min-width: 200px !important;
}
.iziToast-body .iziToast-message {
    line-height: 18px !important;
}
.iziToast:after {
    /*box-shadow: none !important;*/
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1) !important;
    border-radius: 8px !important;
}
.iziToast-message.slideIn {
    margin-top: 5px !important;
}
.iziToast-message {
    word-break: break-all !important;
}
@media screen and (max-width: 500px){
    .iziToast-texts{
        max-width: unset !important;
        min-width: unset !important;
    }
}

/*天气*/
div#tp-weather-widget {
    margin-left: 8px;
}
.dsrBSL {
    font-size: 1.6rem !important;
}
.hlBhLX { /*图标样式*/
    margin-bottom: 2px!important;
}
.emBiRU { /*去除广告*/
    display: none !important;
}
.jQHZYL {
    display: none !important;
}
.eBcdRn {
    align-items: center;
}
.ijqNjY {
    padding-left: 4px;
    padding-right: 4px;
}
.icon-background-alarmCircle {/*去除图标底色*/
    background-color: transparent !important;
}
.sc-hmzhuo,.sc-kvZOFW,.dGahrl {/*预警信息动画*/
    animation: scroll1 22s linear infinite !important;
}
@keyframes scroll1{
	0% {
		left: 20rem;
	}
	100% {
		left: -120rem;
	}
}

/*网址提交评论区*/
.twikoo {
    margin-top: 4rem;
}

.tk-submit .tk-avatar {
    display: none !important;
}
.tk-row.actions {
    margin-left: 0rem !important;
}
.tk-preview-container {
    margin-left: 0rem !important;
}
.tk-content>span>p {
    color: black!important;
}

/*404*/
.error {
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -15% 0 0 -44%;
}
.error-title {
    font-size: 6.75rem;
    font-weight: bold;
}
.error-text {
    margin-top: 2rem;
    line-height: 30px;
    font-size: 1.75rem;
}

@media screen and (max-width: 768px){
    .error {
        position: unset!important;
        top: auto!important;
        left: auto!important;
        margin: auto!important;
        margin-top: 34%!important;
    }
    .error-title {
        font-size: 4.75rem!important;
        margin-left: 4%;
    }
    .error-text {
        font-size: 1.55rem!important;
        margin-left: 4%;
    }
}